Skip to content

Conversation

@souravgupta-ai
Copy link

This PR introduces a Python script, clone_model.py, to clone a model version from one TrueFoundry ML repo to another.

The script downloads the specified model version into a temporary directory and then uploads it to the target ML repo, preserving its metadata and adding the original FQN for traceability. It includes an exponential backoff retry mechanism for network-dependent operations like downloading and uploading.

python clone_model.py \ --source-model-fqn "ml-repo:source-repo/my-model:1" \ --target-ml-repo "destination-repo"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants